From 1f4e4f9380c61632d6829f91e2a7d2aae9e8e3ab Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 18 May 2006 08:55:20 +0100 Subject: [PATCH] Fix the build after SVM patches. Signed-off-by: Keir Fraser --- xen/arch/x86/hvm/svm/svm.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index dd0dcaed24..2541a140f9 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -1303,9 +1303,10 @@ static void svm_io_instruction(struct vcpu *v, struct cpu_user_regs *regs) size = 1; HVM_DBG_LOG(DBG_LEVEL_IO, - "svm_io_instruction: port 0x%x eip=%lx:%lx, " - "exit_qualification = %lx", - port, vmcb->cs.sel, vmcb->rip, (unsigned long)info.bytes); + "svm_io_instruction: port 0x%x eip=%x:%"PRIx64", " + "exit_qualification = %"PRIx64, + port, vmcb->cs.sel, vmcb->rip, info.bytes); + /* string instruction */ if (info.fields.str) { @@ -1314,7 +1315,7 @@ static void svm_io_instruction(struct vcpu *v, struct cpu_user_regs *regs) if (!svm_get_io_address(v, regs, dir, &count, &addr)) { - /* We failed to get a valid address, so don't do the IO operation - + /* We failed to get a valid address, so don't do the IO operation - * it would just get worse if we do! Hopefully the guest is handing * gp-faults... */ -- 2.30.2